package com.peenongsaban.freelance.service;

import java.util.Vector;

import com.peenongsaban.freelance.bean.AptitudeTypeBean;
import com.peenongsaban.freelance.dao.ListFreelanceDAO;
import com.peenongsaban.freelance.dao.impl.ListFreelanceDAOImpl;
import com.peenongsaban.freelance.model.ListFreelanceModel;

public class ListFreelanceService {
	
	private ListFreelanceDAO dao = new ListFreelanceDAOImpl();
	
	public Vector<AptitudeTypeBean> getListFreelanceByAptitudeTopHot(){		
		Vector<AptitudeTypeBean> vector = dao.getListFreelanceByAptitudeTopHot();
		return vector;
	}
	
	public Vector<AptitudeTypeBean> getListFreelanceByAptitudeType(ListFreelanceModel model){
		Vector<AptitudeTypeBean> vector = dao.getListFreelanceByAptitudeType(model);
		return vector;
	}
}
